package com.example.analysis.mapper;

import com.example.analysis.entity.Quest;
import com.example.analysis.entity.QuestExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestDao {
    long countByExample(QuestExample example);

    int deleteByExample(QuestExample example);

    int deleteByPrimaryKey(String questId);

    int insert(Quest record);

    int insertSelective(Quest record);

    List<Quest> selectByExample(QuestExample example);

    Quest selectByPrimaryKey(String questId);

    int updateByExampleSelective(@Param("record") Quest record, @Param("example") QuestExample example);

    int updateByExample(@Param("record") Quest record, @Param("example") QuestExample example);

    int updateByPrimaryKeySelective(Quest record);

    int updateByPrimaryKey(Quest record);

    List<Quest> selectQuest(String type);
}